"""
参考：
    使用 SQLAlchemy
    https://read.helloflask.com/c5-database#zai-cheng-xu-li-cao-zuo-shu-ju-ku
    https://dormousehole.readthedocs.io/en/latest/patterns/sqlalchemy.html
    https://www.cnblogs.com/fu-yong/p/9183951.html
"""
from flaskApp import db
from model.dao.basic import Basic

class User(db.Model, Basic) :
    __tablename__ = 'user'
    id = db.Column(db.INTEGER, primary_key=True)
    name = db.Column(db.String(80), unique=True)
    passwd = db.Column(db.String(80), nullable=False)





